<script setup lang="ts">
import { formatDate } from "~/utils/func.js";

defineProps<{
  time: string;
}>();
</script>

<template>
  <p class="time-line">{{ formatDate(time) }}</p>
</template>

<style scoped lang="scss">
.time-line {
  text-align: center;
  font-size: 12px;
  color: rgba(25, 30, 40, 0.32);
  margin-bottom: 16px;
}
</style>
